package com.example.retrofit.api;

import com.github.lianjiatech.retrofit.spring.boot.annotation.RetrofitClient;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * @author fans
 * 集成nacos：serviceId = "nacos-user-point", fallback = UserFallbackService.class
 */
@RetrofitClient(baseUrl = "${third.url.baidu}")
public interface BaiduApi {

    @GET("/s")
    String search(@Query("wd") String wd);
}
